package com.net

import org.json.JSONObject
import org.junit.Test

class TestSprotInfo {

    @Test
    fun test_info(){
        val str = """
            {"err":0,"json":1,"data":"{\"paobu\": {\"start\": 0, \"state\": 0}, \"tizuqiu\": {\"start\": 0, \"state\": 0}, \"dalanqiu\": {\"start\": 0, \"state\": 0}, \"yuanditiao\": {\"start\": 1613992149348, \"state\": 1}, \"jianshencao\": {\"start\": 0, \"state\": 0}, \"pingpangqiu\": {\"start\": 0, \"state\": 0}}"}
        """.trimIndent()

        val jsonObj = JSONObject(str)
//        jsonObj.process(JSONObject::parseSportInfo)
    }
}

